Skip to content

Conversation

@bsipocz
Copy link
Member

@bsipocz bsipocz commented Oct 30, 2025

This would do linkchecking amongst other thing to ensure all is as expected.

The PR includes some fixes and workarounds to the currently broken links and DOIs

@bsipocz bsipocz requested a review from troyraen October 30, 2025 01:23
@bsipocz bsipocz added the html rendering / skip testing Rendering related issues/PRs. Skips tests in PRs. label Oct 30, 2025
Copy link
Contributor

@troyraen troyraen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

myst.yml Outdated
Comment on lines 20 to 22
# These link resolve in the browser but generates did not resolve and 403 for the build
- https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-scan?projshort=SPITZER
- https://academic.oup.com/mnras/article/505/2/2954/6284767
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that the second one has a "verifying you're human" step. I wonder if the doi.org link would work better? https://doi.org/10.1093/mnras/stab1502

Any idea why the irsa one won't resolve in the build?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure, about the irsa one, I even tried to remove the mission selection and even the Gator link didn't resolve.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like just a missing carriage return in the response. I brought it up with the backend team in case it's easy for them to fix. But I think it's fine to ignore it here for now and not hold up this PR waiting for it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sound good, thanks! I totally agree that this can go in as is; I'm just waiting for a passing build.

@bsipocz
Copy link
Member Author

bsipocz commented Oct 30, 2025

CI failure is unrelated, we're timing out on SPHEREx

@bsipocz bsipocz force-pushed the MAINT_using_strict branch from 0be5784 to 1a51ac1 Compare October 31, 2025 02:24
@troyraen
Copy link
Contributor

There were significant server-side issues with SPHEREx archive yesterday but I reported to the backend team and they did some work on it. They told me that things look back to normal this morning so I re-ran this testing. On the first try it ran into the obscure error #161 but the other two spherex notebooks passed. On the second try everything passed. I'll let you merge this @bsipocz in case there was anything else you wanted to look at first.

@bsipocz
Copy link
Member Author

bsipocz commented Oct 31, 2025

I'll let you merge this @bsipocz in case there was anything else you wanted to look at first.

I think we should have this in and add any additions as follow-ups (There are other rules we can make more strict but for now getting the links should be a good improvement. And a couple of other parts I run into issues that still need to be properly reported upstream).

@bsipocz bsipocz merged commit d8c8429 into Caltech-IPAC:main Oct 31, 2025
4 checks passed
@bsipocz bsipocz deleted the MAINT_using_strict branch October 31, 2025 16:57
Comment on lines -75 to +78
# Status check is a workaround until https://github.com/jupyter-book/mystmd/issues/2113 is fixed
buildhtml: bash -c "jupyter-book build --execute --html 2>&1 | tee /tmp/mystbuild.log"
buildhtml: bash -c "if grep -q 'Traceback .most recent call last.' /tmp/mystbuild.log; then exit 1; fi"
buildhtml: bash -c "echo 'Notebooks ignored (not tested/executed) in this job:\n'; cat ignore_execute"
# Using srtict so we fail with trackbacks and debug mode to have a richer log
buildhtml: bash -c "npx myst build --execute --html --strict -d"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The publish job failed after this merged. https://github.com/Caltech-IPAC/irsa-tutorials/actions/runs/18979533957/job/54208233775. It's complaining that it can't find the myst executable when it tries to run line 78. Maybe it's not being installed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

html rendering / skip testing Rendering related issues/PRs. Skips tests in PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants